package com.demo.config.mq.handler;

import java.util.HashMap;


public interface TgBotOneMqConsts {

  /**
   * 延迟队列
   */
  String BOT_ONE_DELAY_QUEUE = "bot.one.delay.queue";

  /**
   * 延迟队列交换器
   */
  String BOT_ONE_DELAY_MODE_QUEUE = "bot.one.delay.mode";


  /**
   * 设置时不能等于
   */
  String DELAY_TIMEOUT = "3000";

  /**
   * 订单查询 延迟队列时间map
   * 5s 5s
   *
   */
  HashMap<String, String> BOT_ONE_DELAY_TIME_MAP = new HashMap<String,String>(){
    {
      put(DELAY_TIMEOUT, "5001");
      put("5001", "5002");
      put("5002", "10000");
    }
  };
}
